import request from '@/utils/request'
// 提交启动实例
export const submitInstance = (flowId, variables) => {
  return request({
    url: '/flowable/instance/start/' + `${flowId}`,
    method: 'post',
    data: variables,
  })
}

export const getInstanceVariables = (instanceId) => {
  return request({
    url: '/flowable/instance/get/' + `${instanceId}`,
    method: 'get',
  })
}

